package com.redstars.generate.convert;

import com.redstars.generate.entity.SysTableField;
import com.redstars.generate.vo.SysTableFieldVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 代码生成表字段
*
* @author zhouhx 
* @since 1.0.0 2022-10-05
*/
@Mapper
public interface SysTableFieldConvert {
    SysTableFieldConvert INSTANCE = Mappers.getMapper(SysTableFieldConvert.class);

    SysTableField convert(SysTableFieldVo vo);

    SysTableFieldVo convert(SysTableField entity);

    List<SysTableFieldVo> convertList(List<SysTableField> list);

}